package cn.yunyichina.provider.sb.vo;

import cn.yunyichina.provider.sb.entity.MedicalExamination;

/**
 * Created by 15-AK on 2017/7/12.
 */
public class MedicalInhospitalExaminationVo {
    /**	住院流水号	String(64)	唯一标示一次门诊	不可空	125617814957521000*/
    private String  inhospitalSerialNo;
    /**	检查内部ID	String(64)	检验报告唯一号	不可空*/
    private String  examRecordId;
    //住院号	String(16)		不可空
    private String inhospitalNo;
    /*	报案号	String(64)		不可空**/
    private String  caseNo;
    /**	病人ID	String(64)	病人的唯一标示号 关联基本信息病人ID号	不可空	125336754304601000*/
    private String patientId;
    /*送检科室名称	String(64)		可空**/
    private String inspectDeptName;
    /*	送检医生姓名	String(8)		可空**/
    private String inspectDoctorName;
    /**	送检医生_ID	String(16)		可空*/
    private String inspectDoctorNo;
    /**	标识是否是急诊检查	String(1)	0-非急诊，1-急诊	可空*/
    private String emergencyExamFlag;
    /*	检查科室名称	String(64)		可空**/
    private String examDeptName;
    /**	检查科室编码	String(16)		可空*/
    private String examDeptNo;
    /**	执行医生姓名	String(8)		可空*/
    private String executiveDoctorName;
    /*	执行医生_ID	String(16)		可空*/
    private String executiveDoctorNo;
    /*审核医生姓名	String(8)		可空**/
    private String auditDoctorName;
    /**	审核医生_ID	String(16)		可空*/
    private String auditDoctorNo;
    /*	审核时间	Date	YYYY-MM-DD HH24:MI:SS	不可空**/
    private String auditDate;
    /**检查类别代码	String(2)	01:放射类 02:超声类 03:内镜类 04:核医学类 05:病理类 06:放疗类 07:心电类 08 :其他	可空*/
    private String examType;
    /**检查时间	Date	YYYY-MM-DD HH24:MI:SS	不可空*/
    private String examDate;
    /**	检查方法	String(128)		可空*/
    private String examWay;
    /**检查说明	String(128)		可空*/
    private String examInstruction;
    /**	检查项目代码	String(16)		可空*/
    private String examItemNo;
    /*检查项目中文名称	String(128)		不可空**/
    private String examItemChName;
    /**	检查项目英文名称	String(128)		可空*/
    private String examItemEnName;
    /*检查结果代码	String(1)	1-正常,2-异常	可空**/
    private String examResultNo;
    /**	结果描述(定性)	String(256)		可空*/
    private String resultDesc;
    /**影像所见描述	String(512)		不可空*/
    private String imgDesc;
    /*	影像诊断/结果	String(256)		不可空**/
    private String imgDiagnosis;
    /**报告医生姓名	String(8)		可空*/
    private String reportDoctorName;
    /**报告医生 ID	String(16)		可空*/
    private String reportDoctorNo;
    /*报告时间	Date	YYYY-MM-DD HH24:MI:SS	可空**/
    private String reportDate;
    /**	RIS系统关联号	String(64)		可空*/
    private String risRelativeNo;
    /*	影像检查的全球唯一标识	String(64)		可空**/
    private String imgGlobalSignal;
    /**病人类型:门诊/住院/急诊	String(1)	1-门诊，2-住院，3-急诊，4-体检，5-其他	可空*/
    private String patientType;
    /**	检查设备类型	String(4)		可空*/
    private String examEquipType;
    /**	临床诊断	String(128)		可空*/
    private String clinicalDiagnosis;
    /*检查部位代码	String(16)		可空**/
    private String examSiteNo;
    /**	检查部位	String(64)		可空*/
    private String  examSite;
    /**图像号	String(64)		可空*/
    private String imgNo;
    /*总条数	String(64)		不可空	1**/
    private Integer rows;
    /*当前第几条	String(64)		不可空	1**/
    private Integer offset;


    public String getInhospitalSerialNo() {
        return inhospitalSerialNo;
    }

    public void setInhospitalSerialNo(String inhospitalSerialNo) {
        this.inhospitalSerialNo = inhospitalSerialNo;
    }

    public String getExamRecordId() {
        return examRecordId;
    }

    public void setExamRecordId(String examRecordId) {
        this.examRecordId = examRecordId;
    }

    public String getInhospitalNo() {
        return inhospitalNo;
    }

    public void setInhospitalNo(String inhospitalNo) {
        this.inhospitalNo = inhospitalNo;
    }

    public String getCaseNo() {
        return caseNo;
    }

    public void setCaseNo(String caseNo) {
        this.caseNo = caseNo;
    }

    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }

    public String getInspectDeptName() {
        return inspectDeptName;
    }

    public void setInspectDeptName(String inspectDeptName) {
        this.inspectDeptName = inspectDeptName;
    }

    public String getInspectDoctorName() {
        return inspectDoctorName;
    }

    public void setInspectDoctorName(String inspectDoctorName) {
        this.inspectDoctorName = inspectDoctorName;
    }

    public String getInspectDoctorNo() {
        return inspectDoctorNo;
    }

    public void setInspectDoctorNo(String inspectDoctorNo) {
        this.inspectDoctorNo = inspectDoctorNo;
    }

    public String getEmergencyExamFlag() {
        return emergencyExamFlag;
    }

    public void setEmergencyExamFlag(String emergencyExamFlag) {
        this.emergencyExamFlag = emergencyExamFlag;
    }

    public String getExamDeptName() {
        return examDeptName;
    }

    public void setExamDeptName(String examDeptName) {
        this.examDeptName = examDeptName;
    }

    public String getExamDeptNo() {
        return examDeptNo;
    }

    public void setExamDeptNo(String examDeptNo) {
        this.examDeptNo = examDeptNo;
    }

    public String getExecutiveDoctorName() {
        return executiveDoctorName;
    }

    public void setExecutiveDoctorName(String executiveDoctorName) {
        this.executiveDoctorName = executiveDoctorName;
    }

    public String getExecutiveDoctorNo() {
        return executiveDoctorNo;
    }

    public void setExecutiveDoctorNo(String executiveDoctorNo) {
        this.executiveDoctorNo = executiveDoctorNo;
    }

    public String getAuditDoctorName() {
        return auditDoctorName;
    }

    public void setAuditDoctorName(String auditDoctorName) {
        this.auditDoctorName = auditDoctorName;
    }

    public String getAuditDoctorNo() {
        return auditDoctorNo;
    }

    public void setAuditDoctorNo(String auditDoctorNo) {
        this.auditDoctorNo = auditDoctorNo;
    }

    public String getAuditDate() {
        return auditDate;
    }

    public void setAuditDate(String auditDate) {
        this.auditDate = auditDate;
    }

    public String getExamType() {
        return examType;
    }

    public void setExamType(String examType) {
        this.examType = examType;
    }

    public String getExamDate() {
        return examDate;
    }

    public void setExamDate(String examDate) {
        this.examDate = examDate;
    }

    public String getExamWay() {
        return examWay;
    }

    public void setExamWay(String examWay) {
        this.examWay = examWay;
    }

    public String getExamInstruction() {
        return examInstruction;
    }

    public void setExamInstruction(String examInstruction) {
        this.examInstruction = examInstruction;
    }

    public String getExamItemNo() {
        return examItemNo;
    }

    public void setExamItemNo(String examItemNo) {
        this.examItemNo = examItemNo;
    }

    public String getExamItemChName() {
        return examItemChName;
    }

    public void setExamItemChName(String examItemChName) {
        this.examItemChName = examItemChName;
    }

    public String getExamItemEnName() {
        return examItemEnName;
    }

    public void setExamItemEnName(String examItemEnName) {
        this.examItemEnName = examItemEnName;
    }

    public String getExamResultNo() {
        return examResultNo;
    }

    public void setExamResultNo(String examResultNo) {
        this.examResultNo = examResultNo;
    }

    public String getResultDesc() {
        return resultDesc;
    }

    public void setResultDesc(String resultDesc) {
        this.resultDesc = resultDesc;
    }

    public String getImgDesc() {
        return imgDesc;
    }

    public void setImgDesc(String imgDesc) {
        this.imgDesc = imgDesc;
    }

    public String getImgDiagnosis() {
        return imgDiagnosis;
    }

    public void setImgDiagnosis(String imgDiagnosis) {
        this.imgDiagnosis = imgDiagnosis;
    }

    public String getReportDoctorName() {
        return reportDoctorName;
    }

    public void setReportDoctorName(String reportDoctorName) {
        this.reportDoctorName = reportDoctorName;
    }

    public String getReportDoctorNo() {
        return reportDoctorNo;
    }

    public void setReportDoctorNo(String reportDoctorNo) {
        this.reportDoctorNo = reportDoctorNo;
    }

    public String getReportDate() {
        return reportDate;
    }

    public void setReportDate(String reportDate) {
        this.reportDate = reportDate;
    }

    public String getRisRelativeNo() {
        return risRelativeNo;
    }

    public void setRisRelativeNo(String risRelativeNo) {
        this.risRelativeNo = risRelativeNo;
    }

    public String getImgGlobalSignal() {
        return imgGlobalSignal;
    }

    public void setImgGlobalSignal(String imgGlobalSignal) {
        this.imgGlobalSignal = imgGlobalSignal;
    }

    public String getPatientType() {
        return patientType;
    }

    public void setPatientType(String patientType) {
        this.patientType = patientType;
    }

    public String getExamEquipType() {
        return examEquipType;
    }

    public void setExamEquipType(String examEquipType) {
        this.examEquipType = examEquipType;
    }

    public String getClinicalDiagnosis() {
        return clinicalDiagnosis;
    }

    public void setClinicalDiagnosis(String clinicalDiagnosis) {
        this.clinicalDiagnosis = clinicalDiagnosis;
    }

    public String getExamSiteNo() {
        return examSiteNo;
    }

    public void setExamSiteNo(String examSiteNo) {
        this.examSiteNo = examSiteNo;
    }

    public String getExamSite() {
        return examSite;
    }

    public void setExamSite(String examSite) {
        this.examSite = examSite;
    }

    public String getImgNo() {
        return imgNo;
    }

    public void setImgNo(String imgNo) {
        this.imgNo = imgNo;
    }

    public Integer getTotalRows() {
        return rows;
    }

    public void setTotalRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getCurrentOffset() {
        return offset;
    }

    public void setCurrentOffset(Integer offset) {
        this.offset = offset;
    }


    public MedicalExamination buildMedicalExamination(){
        MedicalExamination medicalExamination = new MedicalExamination();
        medicalExamination.setBusinessFeeId("125617814957521000");
        medicalExamination.setCheckId("125617814957521000");
        medicalExamination.setAdmissionNo("125617814957521000");
        medicalExamination.setCaseNo("9100063879");
        medicalExamination.setPatId("125336754304601000");
        medicalExamination.setAuditTime("2017-05-16 14:03:00");
        medicalExamination.setCheckTime("2017-05-16 14:33:00");
        medicalExamination.setChineseName("计算机断层扫描");
        medicalExamination.setImagingDesc("BALABALA");
        medicalExamination.setImagingDiagnosis("结果正常");
        medicalExamination.setTotalRows(1);
        medicalExamination.setCurrentOffset(1);
        return medicalExamination;
    }

    public MedicalInhospitalExaminationVo buildMedicalInhospitalExaminationVo(MedicalExamination medicalExamination){
        this.setInhospitalSerialNo(medicalExamination.getBusinessFeeId());
        this.setInhospitalNo(medicalExamination.getAdmissionNo());
        this.setExamRecordId(medicalExamination.getCheckId());
        this.setCaseNo(medicalExamination.getCaseNo());
        this.setPatientId(medicalExamination.getPatId());
        this.setAuditDate(medicalExamination.getAuditTime());
        this.setExamDate(medicalExamination.getCheckTime());
        this.setExamItemChName(medicalExamination.getChineseName());
        this.setImgDesc(medicalExamination.getImagingDesc());
        this.setImgDiagnosis(medicalExamination.getImagingDiagnosis());
        this.setTotalRows(medicalExamination.getTotalRows());
        this.setCurrentOffset(medicalExamination.getCurrentOffset());
        return this;
    }

}
